home *** CD-ROM | disk | FTP | other *** search
/ Almathera Ten Pack 3: CDPD 3 / Almathera Ten on Ten - Disc 3: CDPD3.iso / ab20 / unarced / graphics / pbmplus / ppm / rawtoppm.man < prev    next >
Text File  |  1995-03-17  |  2KB  |  67 lines

  1.  
  2.  
  3.  
  4.      rawtoppm(1)         AMIGA (06 February 1991)          rawtoppm(1)
  5.  
  6.  
  7.  
  8.      NAME
  9.           rawtoppm - convert raw RGB bytes into a portable pixmap
  10.  
  11.      SYNOPSIS
  12.           rawtoppm [-headerskip N] [-rowskip N] [-rgb|-rbg|-grb |-
  13.           gbr|-brg|-bgr ] [-interpixel|-interrow] width height
  14.           [imagedata]
  15.  
  16.      DESCRIPTION
  17.           Reads raw RGB bytes as input.  Produces a portable pixmap as
  18.           output.  The input file is just RGB bytes.  You have to
  19.           specify the width and height on the command line, since the
  20.           program obviously can't get them from the file.  The maxval
  21.           is assumed to be 255.  If the resulting image is upside
  22.           down, run it through pnmflip -tb .
  23.  
  24.      OPTIONS
  25.           -headerskip
  26.                If the file has a header, you can use this flag to skip
  27.                over it.
  28.  
  29.           -rowskip
  30.                If there is padding at the ends of the rows, you can
  31.                skip it with this flag.
  32.  
  33.           -rgb -rbg -grb -gbr -brg -bgr
  34.                These flags let you specify alternate color orders.
  35.                The default is -rgb.
  36.  
  37.           -interpixel -interrow
  38.                These flags let you specify how the colors are
  39.                interleaved.  The default is -interpixel, meaning
  40.                interleaved by pixel.  A byte of red, a byte of green,
  41.                and a byte of blue, or whatever color order you
  42.                specified.  -interrow means interleaved by row - a row
  43.                of red, a row of green, a row of blue, assuming
  44.                standard rgb color order.  An -interplane flag  - all
  45.                the red pixels, then all the green, then all the blue -
  46.                would be an obvious extension, but is not implemented.
  47.                You could get the same effect by splitting the file
  48.                into three parts (perhaps using dd), turning each part
  49.                into a PGM file with rawtopgm, and then combining them
  50.                with rgb3toppm.
  51.  
  52.      SEE ALSO
  53.           ppm(5), rawtopgm(1), rgb3toppm(1), pnmflip(1)
  54.  
  55.      AUTHOR
  56.           Copyright (C) 1991 by Jef Poskanzer.
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.      Page 1                                         (printed 10/19/91)
  64.  
  65.  
  66.  
  67.